package com.ruoyi.order.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户优惠券关联对象 user_coupon
 * 
 * @author ruoyi
 * @date 2025-07-10
 */
@Data
public class UserCoupon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户优惠券关联ID */
    private Long ucId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uId;

    /** 优惠券ID */
    @Excel(name = "优惠券ID")
    private Long cId;

    @Excel(name = "使用状态")
    private Long status;

    public void setUcId(Long ucId) 
    {
        this.ucId = ucId;
    }

    public Long getUcId() 
    {
        return ucId;
    }

    public void setuId(Long uId) 
    {
        this.uId = uId;
    }

    public Long getuId() 
    {
        return uId;
    }

    public void setcId(Long cId) 
    {
        this.cId = cId;
    }

    public Long getcId() 
    {
        return cId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ucId", getUcId())
            .append("uId", getuId())
            .append("cId", getcId())
                .append("status", getStatus())
            .toString();
    }
}
